<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta http-equiv="Cache-Control" content="no-cache"/>
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<meta http-equiv="Cache-Control" content="no-transform" />
	<meta name="renderer" content="webkit"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
	<meta name="generator" content="HBuilder X 2.9.3"/>
	<meta name="description" content="主页~"/>
	<meta name="author" content="1074637681@qq.com"/>
	<script src="qiangke.js" type="text/javascript" charset="utf-8"></script>
  <meta charset="UTF-8">
  <title>测试页面</title>
</head>
<body>

<div id="" style="text-align: center;margin-top: 20vh;">
	var script = document.createElement('script');<br>
	script.src = "https://xyxywan.gitee.io/hfut_xuanke/qiangke.js";<br>
	document.getElementsByTagName('head')[0].appendChild(script);
</div>

<div style="z-index:9999;width: 60%;margin: auto;position: absolute;border:2px solid;border-radius:25px;border-color: #0000ff;"
<h1>模拟选课页面</h1>
<button  class="button2" onclick="addcs(EDstr('E',String(rwlocalStorage('r','qiangkecishu'))))">增加抢课次数</button>
<script type="text/javascript">
	function testfuc1(){
		document.getElementById('kuang').style.display='block';
		document.getElementById('testarea').innerText="正在选课";
		setTimeout(function(){ document.getElementById('testarea').innerText="人数已满"; }, 2000);

	}
	function testfuc2(){
		document.getElementById('kuang').style.display='block';
		document.getElementById('testarea').innerText="正在选课";
		setTimeout(function(){ document.getElementById('testarea').innerText="选课成功"; }, 2000);
		
	}
	function testfuc3(){
		document.getElementById('kuang').style.display='block';
		document.getElementById('testarea').innerText="正在选课";
		setTimeout(function(){ document.getElementById('testarea').innerText="重复选课"; }, 2000);
		
	}
</script>
<br><br>
<div id="kaisbt"><button id="searchbtn" class="button2" onclick="testfuc1()">选课按钮</button></div>
<div id="kuang" style="width: 200px;left: 0px;display: none;border:2px solid;border-radius:25px;border-color: #FF0000;">
	

<div id="testarea" style="color: #FF0000;"></div>
<button type="button" id="testbutton6" onclick="document.getElementById('kuang').style.display='none';document.getElementById('testarea').innerText='';">确定</button>
</div>
<a href="https://addons.mozilla.org/zh-CN/firefox/addon/tampermonkey/"></a>
 <script>
 function btt1(){
	  $("#kaisbt").empty();
	var div4 = $('<button id="searchbtn" class="button2" onclick="testfuc1()">选课按钮</button>').attr({});
	div4.appendTo('#kaisbt');
 } 
 function btt2(){
	 $("#kaisbt").empty();
	var div4 = $('<button id="searchbtn" class="button2" onclick="testfuc2()">选课按钮</button>').attr({});
	div4.appendTo('#kaisbt');
 }
 function btt3(){
 	 $("#kaisbt").empty();
 	var div4 = $('<button id="searchbtn" class="button2" onclick="testfuc3()">选课按钮</button>').attr({});
 	div4.appendTo('#kaisbt');
 }
 </script>


<div align="center" style="margin-top:8%; ">
			<label class="label1" onclick="btt1();">正在选课-2s>人数已满<input type="radio" name="point" checked="checked"/></label>
			<label class="label1" onclick="btt2();">正在选课-2s>选课成功<input type="radio" name="point"/></label>
			<label class="label1" onclick="btt3();">正在选课-2s>重复选课<input type="radio" name="point"/></label>
</div>
<br>

<br>

</div>
	


		
</body>
</html>


